import { useState } from "react";

export default function Test() {
    console.log('Test rendered');
    const [count, setCount] = useState(0);
    return (
        <div>
            <h1>Test Component</h1>
            <p>Count: {count}</p>
            <button onClick={() => setCount(count + 1)}>Increment</button>
        </div>
    )
}
